import { Controller, Get } from '@nestjs/common';
import { NetworkService } from './network.service';

@Controller('topology')
export class TopologyController {
  constructor(private readonly networkService: NetworkService) {}

  @Get()
  findAll() {
    return this.networkService.getTopology();
  }

}
